package com.open.capacity.nk.dao;

import com.open.capacity.nk.entity.AaDepartment;
import com.open.capacity.nk.entity.AaPerson;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author
 * @email
 * @date 2023-03-15 09:10:16
 */
@Mapper
public interface AaPersonDao {

    int batchSave(List<AaPerson> list);

    int save(AaPerson aaPerson);

    int delete();

    AaPerson findById(String id);

    List<AaPerson> findAll(Map<String, Object> params);

}
